import React from 'react'
const Item = (
  {
    handleClick,
    title,
    icon
  }
) => {
  return <div onClick={() => {
    handleClick()
  }} className='myorder' >
    <div className={icon + ' order-icon'}></div>
    <div className='myorder-text'>
      <span>{title}</span>
      <div className='icon-arrow-right'></div>
    </div>
  </div>
};
export default Item